﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000F0F RID: 3855
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class RogueMagicAutoDressInUnitScRsp : IMessage<RogueMagicAutoDressInUnitScRsp>, IMessage, IEquatable<RogueMagicAutoDressInUnitScRsp>, IDeepCloneable<RogueMagicAutoDressInUnitScRsp>, IBufferMessage
	{
		// Token: 0x170030FB RID: 12539
		// (get) Token: 0x0600ACF0 RID: 44272 RVA: 0x001D3D34 File Offset: 0x001D1F34
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<RogueMagicAutoDressInUnitScRsp> Parser
		{
			get
			{
				return RogueMagicAutoDressInUnitScRsp._parser;
			}
		}

		// Token: 0x170030FC RID: 12540
		// (get) Token: 0x0600ACF1 RID: 44273 RVA: 0x001D3D3B File Offset: 0x001D1F3B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return RogueMagicAutoDressInUnitScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170030FD RID: 12541
		// (get) Token: 0x0600ACF2 RID: 44274 RVA: 0x001D3D4D File Offset: 0x001D1F4D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return RogueMagicAutoDressInUnitScRsp.Descriptor;
			}
		}

		// Token: 0x0600ACF3 RID: 44275 RVA: 0x001D3D54 File Offset: 0x001D1F54
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueMagicAutoDressInUnitScRsp()
		{
		}

		// Token: 0x0600ACF4 RID: 44276 RVA: 0x001D3D5C File Offset: 0x001D1F5C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueMagicAutoDressInUnitScRsp(RogueMagicAutoDressInUnitScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600ACF5 RID: 44277 RVA: 0x001D3D81 File Offset: 0x001D1F81
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueMagicAutoDressInUnitScRsp Clone()
		{
			return new RogueMagicAutoDressInUnitScRsp(this);
		}

		// Token: 0x170030FE RID: 12542
		// (get) Token: 0x0600ACF6 RID: 44278 RVA: 0x001D3D89 File Offset: 0x001D1F89
		// (set) Token: 0x0600ACF7 RID: 44279 RVA: 0x001D3D91 File Offset: 0x001D1F91
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x0600ACF8 RID: 44280 RVA: 0x001D3D9A File Offset: 0x001D1F9A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as RogueMagicAutoDressInUnitScRsp);
		}

		// Token: 0x0600ACF9 RID: 44281 RVA: 0x001D3DA8 File Offset: 0x001D1FA8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(RogueMagicAutoDressInUnitScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600ACFA RID: 44282 RVA: 0x001D3DD8 File Offset: 0x001D1FD8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600ACFB RID: 44283 RVA: 0x001D3E17 File Offset: 0x001D2017
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600ACFC RID: 44284 RVA: 0x001D3E1F File Offset: 0x001D201F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600ACFD RID: 44285 RVA: 0x001D3E28 File Offset: 0x001D2028
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(16);
				output.WriteUInt32(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600ACFE RID: 44286 RVA: 0x001D3E5C File Offset: 0x001D205C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600ACFF RID: 44287 RVA: 0x001D3E9A File Offset: 0x001D209A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(RogueMagicAutoDressInUnitScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600AD00 RID: 44288 RVA: 0x001D3ECB File Offset: 0x001D20CB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600AD01 RID: 44289 RVA: 0x001D3ED4 File Offset: 0x001D20D4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 16U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.Retcode = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04004632 RID: 17970
		private static readonly MessageParser<RogueMagicAutoDressInUnitScRsp> _parser = new MessageParser<RogueMagicAutoDressInUnitScRsp>(() => new RogueMagicAutoDressInUnitScRsp());

		// Token: 0x04004633 RID: 17971
		private UnknownFieldSet _unknownFields;

		// Token: 0x04004634 RID: 17972
		public const int RetcodeFieldNumber = 2;

		// Token: 0x04004635 RID: 17973
		private uint retcode_;
	}
}
